/****************************************************************************
  From Qt Examples
****************************************************************************/

#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include "sslserver.h"
#include <QTextEdit>
#include <QLineEdit>



QT_BEGIN_NAMESPACE
class QLabel;
class QPushButton;
QT_END_NAMESPACE

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = 0);

public slots:

    //Used for displaying the sent message
    void send();
    //Used for displaying the recieved message
    void readCMsg(QString);

private:
    QTextEdit *serverTextEdit;
    QLineEdit *serverLineEdit;
    QLabel *statusLabel;
    QPushButton *quitButton;
    SSLServer *sslServer;

};

#endif
